<%@ page language="java" contentType="text/html; charset=utf-8"	pageEncoding="utf-8"%>
<%
	String id = (String) request.getAttribute("id");
%>
<html>
<head>


<script type="text/javascript">
var id= "<%=id%>";
var listPageUrl="salary/index.do";
var userInfoUrl="rest/salaryInfo.do";

$(document).ready(function () {	
	
		$.get(userInfoUrl + "?id=" + id, function(result) {
			if (result.retCode == "0000") {
				data = result.data;
				$('#user-fm').form('load', data);
			} else {
				$('#dg').datagrid('reload');
				$.messager.alert('操作提示', "加装数据失败", '加装数据失败');
			}
		});
		
// 		$('#orgId').combotree({onSelect:function(node){
// 			$("#orgId").val(node.id);//设置oid
// 		}});

	})
	//end ready
	
	function back(url) {
		$.get(url, {}, function(data) {
			$("#center").empty();
			$("#center").html(data);
			$.parser.parse($("#center"));
		});
	}
</script>
</head>
<body>
		
<div class="linkbar"><a>业务</a>/<a>工资条管理</a>/<a> 编辑工资条</a></div>
<!-- 		<div class="breadcrumb">系统 &gt;&gt; 用户管理 &gt;&gt; 编辑用户</div> -->
		<div id="user-add" 	buttons="#user-add-buttons">
			<form id="user-fm" method="post" novalidate>
				<INPUT TYPE=hidden NAME=id VALUE="${id}">
			<div class="fitem">
				<label>编号:</label> <input name="no"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>月份:</label> <input name="month"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>公司:</label> <input name="company"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>部门:</label> <input name="dept"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>员工号:</label> <input name="employee_no"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>姓名:</label> <input name="name"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>性别:</label> <input name="sex"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>地区:</label> <input name="region"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>社保、公积金缴纳地:</label> <input name="payment_place"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>薪资级别:</label> <input name="salary_level"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>职级:</label> <input name="post"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>月度固定工资:</label> <input name="fix_salary"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>基本工资:</label> <input name="base_salary"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>绩效工资:</label> <input name="achievement_salary"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>工龄工资:</label> <input name="age_salary"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>职业资格津贴:</label> <input name="career_benifit_salary"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>加班费:</label> <input name="overtime_pay"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>生日祝贺:</label> <input name="birthday_congratulate"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>过节费:</label> <input name="newyear_congratulate"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>工资增发:</label> <input name="additional_salary"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>工资扣款:</label> <input name="chargeback_salary"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>税前应发总额:</label> <input name="pre_tax_salary"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>社保个人部分:</label> <input name="socail_security_person"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>社保公司部分:</label> <input name="socal_security_company"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>公积金个人部分:</label> <input name="accumulation_fund_person"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>公积金公司部分:</label> <input name="accumulation_fund_company"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>企业年金个人部分:</label> <input name="annuity_money"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>企业年金免税额:</label> <input name="annuity_money_unduty"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>应税工资:</label> <input name="tax_salary"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>税率:</label> <input name="tax_percent"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>个人所得税:</label> <input name="tax_person"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>独生子女费补贴:</label> <input name="only_child_benifit"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>税后增发:</label> <input name="additional_salary_after_tax"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>实发工资:</label> <input name="actual_pay"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>身份证号:</label> <input name="identify_card_no"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>工资卡号:</label> <input name="salary_card_no"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			<div class="fitem">
				<label>状态:</label> <input name="status"
					class="easyui-validatebox" missingMessage="该输入项不能为空！"
					required="true" readonly="readonly" />
			</div>
			
			

			
						
			</form>
		</div>
		<div id="dlg-buttons">
			<a href="#" class="easyui-linkbutton" iconCls="icon-cancel" onclick="back(listPageUrl)">返回</a>
		</div>
		

</body>
</html>